package com.example.demo.pojo;

import java.io.Serializable;

import org.apache.ibatis.type.Alias;

@Alias(value="person")
public class Person implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4532199768027248949L;
	private Integer id = null;
	private String name = null;
	private String chineseName = null;
	private String department = null;
	private String address = null;
	private String phone = null;
	
	public Person() {
		super();
	}
	
	public Person (String name, String chineseName, String department, String address, String phone) {
		super();
		this.name = name;
		this.chineseName = chineseName;
		this.department = department;
		this.address = address;
		this.phone = phone;
	}
	
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getChineseName() {
		return chineseName;
	}
	
	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}
	
	public String getDepartment() {
		return department;
	}
	
	public void setDepartment(String department) {
		this.department = department;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
}
